home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / VIEWEX.PAK / VIEWMAC.R < prev   
Text File  |  1997-05-06  |  3KB  |  161 lines

  1. //  hello.r: Macintosh-specific resources
  2.  
  3. #include "resource.h"
  4. #include "types.r"
  5. #include "systypes.r"
  6. #include "ftab.r"
  7. #include "mrc\balloons.r"
  8. #include "CodeFrag.r"
  9.  
  10. resource 'vers' (2)
  11. {
  12.     0x04,
  13.     0x00,
  14.     final,
  15.     0x00,
  16.     verUS,
  17.     "4.0",
  18.     "MFC for Macintosh 4.0"
  19. };
  20.  
  21. resource 'SIZE' (-1)
  22. {
  23.     reserved,
  24.     acceptSuspendResumeEvents,
  25.     reserved,
  26.     canBackground,
  27.     doesActivateOnFGSwitch,
  28.     backgroundAndForeground,
  29.     dontGetFrontClicks,
  30.     ignoreAppDiedEvents,
  31.     is32BitCompatible,
  32.     isHighLevelEventAware,
  33.     localAndRemoteHLEvents,
  34.     isStationeryAware,
  35.     useTextEditServices,
  36.     reserved,
  37.     reserved,
  38.     reserved,
  39. #ifdef _MPPC_
  40.     2500 * 1024,
  41.     2500 * 1024
  42. #else    // 68K Mac
  43. #ifdef _DEBUG
  44.     3000 * 1024,
  45.     3000 * 1024
  46. #else
  47.     2000 * 1024,
  48.     2000 * 1024
  49. #endif
  50. #endif
  51. };
  52.  
  53. resource 'BNDL' (128, purgeable)    // viewex bundle resource ID
  54. {
  55.     'VIEW',                 // viewex signature
  56.     0,                      // resource ID of signature resource:
  57.                             // should be 0
  58.     {
  59.         'ICN#',             // mapping local IDs in 'FREF's to 'ICN#' IDs
  60.         {
  61.             0, IDR_MAINFRAME,
  62.             1, 129
  63.         },
  64.         'FREF',             // local resource IDs for 'FREF's
  65.         {
  66.             0, 128,
  67.             1, 129
  68.         }
  69.     }
  70. };
  71.  
  72. resource 'FREF' (128, purgeable)    // viewex application
  73. {
  74.     'APPL', 0,
  75.     ""
  76. };
  77.  
  78. resource 'FREF' (129, purgeable)    // viewex document
  79. {
  80.     'VIEW', 1,
  81.     ""
  82. };
  83.  
  84. type 'VIEW' as 'STR ';
  85.  
  86. resource 'VIEW' (0, purgeable)
  87. {
  88.     "viewex Application"
  89. };
  90.  
  91. /* Balloon help resources */
  92.  
  93. resource 'hfdr' (-5696)
  94. {
  95.     HelpMgrVersion, hmDefaultOptions, 0, 0,
  96.     {
  97.         HMSTRResItem {500}
  98.     }
  99. };
  100.  
  101. resource 'hovr' (1000)
  102. {
  103.     HelpMgrVersion, hmDefaultOptions, 0, 0,
  104.  
  105.         HMStringItem    /* missing items override */
  106.         {
  107.             "Miscellaneous part of the Microsoft Viewex "
  108.             "Sample Application."
  109.         },
  110.         {
  111.             HMSkipItem {},  /* title bar */
  112.             HMSkipItem {},  /* reserved. always skip item here */
  113.             HMStringItem    /* close box */
  114.             {
  115.                 "Click here to close the Microsoft Viewex "
  116.                 "Sample Application."
  117.             },
  118.             HMStringItem    /* zoom box */
  119.             {
  120.                 "Click here to Zoom In or Zoom Out."
  121.             },
  122.             HMSkipItem {},  /* active app's inactive window */
  123.             HMStringItem    /* inactive app's window */
  124.             {
  125.                 "This is not part of the Microsoft Viewex "
  126.                 "Application. It may be part of the Apple "
  127.                 "Finder, or some other application."
  128.             },
  129.             HMSkipItem {}   /* outside modal dialog */
  130.         }
  131. };
  132.  
  133. #ifdef _MPPC_
  134. resource 'STR ' (500)
  135. {
  136.     "This is the Win32 Viewex sample application "
  137.     "ported to the Power Macintosh using Microsoft VC++ "
  138.     "Edition for the Apple Power Macintosh"
  139. };
  140. #else    // 68K Mac
  141. resource 'STR ' (500)
  142. {
  143.     "This is the Win32 Viewex sample application "
  144.     "ported to the Macintosh using Microsoft VC++ Edition "
  145.     "for the Apple Macintosh"
  146. };
  147. #endif
  148.  
  149. #ifdef _MPPC_
  150. resource 'cfrg' (0) {
  151.   {
  152.     kPowerPC,
  153.     kFullLib,
  154.     kNoVersionNum,kNoVersionNum,
  155.     0, 0,
  156.     kIsApp,kOnDiskFlat,kZeroOffset,kWholeFork,
  157.     ""
  158.   }
  159. };
  160. #endif
  161.